package xyz.imeans.w.model;

import lombok.Data;
import xyz.imeans.w.annotion.Column;
import xyz.imeans.w.annotion.Id;
import xyz.imeans.w.annotion.LngLat;
import xyz.imeans.w.annotion.Sfzh;
import xyz.imeans.w.annotion.Table;
import xyz.imeans.w.annotion.Tel;
import xyz.imeans.w.annotion.Value;
import xyz.imeans.w.annotion.Xm;

@Data
@Table(value = "t_test", schma = "ESCMP")
public class TestDTO {

    @Id
    @Column("sfzh")
    @Sfzh(sex = "woman", provs = "新疆")
    private String sfzh;

    @Column("xm")
    @Xm
    private String xm;

    @Column("tel")
    @Tel
    private String tel;

    @Column("point")
    @LngLat(radius = 1000)
    private String point;

    @Column("desc")
    @Value("这是一段描述")
    private String desc;
    @Column("desc1")
    @Value(list = {"描述1"})
    private String desc1;
    @Column("desc2")
    @Value(list = {"描述2", "描述3", "描述4"})
    private String desc2;
}
